﻿@inherits UmbracoTemplatePage<IPublishedContent>

@{ 
    IEnumerable<IPublishedContent> childrens = Model.Content.Children.Where(x => x.IsVisible());
}
<header>
    <div class="header container">
        <div class="col-md-5">
            <a href="@Model.Content.Url" class="logo">@Model.Content.GetPropertyValue("siteName")</a>
        </div>

        <nav class="col-md-7">
            <ul>
                @foreach (IPublishedContent children in childrens)
                {
                    <li><a href="@children.Url">@children.Name</a></li>
                }
            </ul>
        </nav>
    </div>

</header>